package com.example.wod.retrofitdemo.Bean;

import java.util.List;


/**
 * Created by Wod on 2016/1/20.
 */
public class AssetsLog {


    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : [{"id":"768","type":"1","code":"bonus","nid":"bonus_id_43108","amount":"1.63","remark":"","add_time":"1453258806","type_name":"收入","code_name":"红包收入"},{"id":"767","type":"1","code":"bonus","nid":"bonus_id_35174","amount":"1.15","remark":"","add_time":"1453258678","type_name":"收入","code_name":"红包收入"}]
     */

    private String code;
    private String info;
    /**
     * id : 768
     * type : 1
     * code : bonus
     * nid : bonus_id_43108
     * amount : 1.63
     * remark :
     * add_time : 1453258806
     * type_name : 收入
     * code_name : 红包收入
     */

    private List<DataEntity> data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String type;
        private String code;
        private String nid;
        private String amount;
        private String remark;
        private String add_time;
        private String type_name;
        private String code_name;

        public void setId(String id) {
            this.id = id;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public void setNid(String nid) {
            this.nid = nid;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public void setCode_name(String code_name) {
            this.code_name = code_name;
        }

        public String getId() {
            return id;
        }

        public String getType() {
            return type;
        }

        public String getCode() {
            return code;
        }

        public String getNid() {
            return nid;
        }

        public String getAmount() {
            return amount;
        }

        public String getRemark() {
            return remark;
        }

        public String getAdd_time() {
            return add_time;
        }

        public String getType_name() {
            return type_name;
        }

        public String getCode_name() {
            return code_name;
        }
    }
}
